package com.comm.db.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * TOrganization entity. @author MyEclipse Persistence Tools
 */

public class TOrganization implements java.io.Serializable {

	// Fields

	private Integer id;
	private String codeNo;
	private String orgName;
	private Integer orgType;
	private String description;
	private Integer status;
	private Integer isLeaf;
	private Integer parentId;
	private Set TPrivXOrgs = new HashSet(0);
	private Set TLoginXOrgs = new HashSet(0);

	// Constructors

	/** default constructor */
	public TOrganization() {
	}

	/** full constructor */
	public TOrganization(String codeNo, String orgName, Integer orgType,
			String description, Integer status, Integer isLeaf,
			Integer parentId, Set TPrivXOrgs, Set TLoginXOrgs) {
		this.codeNo = codeNo;
		this.orgName = orgName;
		this.orgType = orgType;
		this.description = description;
		this.status = status;
		this.isLeaf = isLeaf;
		this.parentId = parentId;
		this.TPrivXOrgs = TPrivXOrgs;
		this.TLoginXOrgs = TLoginXOrgs;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCodeNo() {
		return this.codeNo;
	}

	public void setCodeNo(String codeNo) {
		this.codeNo = codeNo;
	}

	public String getOrgName() {
		return this.orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public Integer getOrgType() {
		return this.orgType;
	}

	public void setOrgType(Integer orgType) {
		this.orgType = orgType;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getIsLeaf() {
		return this.isLeaf;
	}

	public void setIsLeaf(Integer isLeaf) {
		this.isLeaf = isLeaf;
	}

	public Integer getParentId() {
		return this.parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public Set getTPrivXOrgs() {
		return this.TPrivXOrgs;
	}

	public void setTPrivXOrgs(Set TPrivXOrgs) {
		this.TPrivXOrgs = TPrivXOrgs;
	}

	public Set getTLoginXOrgs() {
		return this.TLoginXOrgs;
	}

	public void setTLoginXOrgs(Set TLoginXOrgs) {
		this.TLoginXOrgs = TLoginXOrgs;
	}

}